package com.vrv.common.chart.entity;

import java.util.List;

import android.graphics.Color;

/**
 *
 * 轴相关的数据载体
 *
 * @author 曹保利
 *
 */
public class AxisEntity {
    /** 轴的颜色 */
    private int color;
    /** 轴的标题 */
    private String title;
    /** 轴上的label */
    private String[] label;
    /** 轴上各个图例所示的值 */
    private List<Number[]> values;
    /** 轴的最小值 */
    private Number minVal;
    /** 轴的最大值 */
    private Number maxVal;
    /** 图例名称 */
    private String[] legend;
    /** 图例颜色 */
    private int[] colors = new int[] { Color.CYAN };

    public int getColor() {
        return color;
    }

    public void setColor(int color) {
        this.color = color;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String[] getLabel() {
        return label;
    }

    public void setLabel(String[] label) {
        this.label = label;
    }

    public List<Number[]> getValues() {
        return values;
    }

    public void setValues(List<Number[]> values) {
        this.values = values;
    }

    public Number getMinVal() {
        return minVal;
    }

    public void setMinVal(Number minVal) {
        this.minVal = minVal;
    }

    public Number getMaxVal() {
        return maxVal;
    }

    public void setMaxVal(Number maxVal) {
        this.maxVal = maxVal;
    }

    public String[] getLegend() {
        return legend;
    }

    public void setLegend(String[] legend) {
        this.legend = legend;
    }

    public int[] getColors() {
        return colors;
    }

    public void setColors(int[] colors) {
        this.colors = colors;
    }

}
